package com.ch.home.service.serviceInterface.user;

import com.ch.home.bean.Feedback;

import java.util.Date;
import java.util.HashMap;

/**
 * Created by CHEN on 2019/8/24.
 */
public interface FeedbackService {

    /**
     * 新增反馈
     * @param feedback
     * @return
     */
    HashMap addFeedback(Feedback feedback);

    /**
     * 按条件拿反馈
     * @param userId
     * @param earlierTime
     * @param laterTime
     * @return
     */
    HashMap getFeedback(Integer userId, Date earlierTime, Date laterTime);

}
